package com.carleasoft.mps.adu.business.user.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * <p>Description: userRole 用户角色关系实体类</p>
 * @since 2020-04-28
 * @author ztm
 */
@Data
@TableName("m_authority_user_role")
public class AuthorityUserRoleEntity {
    /**
     * 主键id
     */
    @TableId(value = "ID",type = IdType.AUTO)
    private Long id;
    /**
     * 用户code
     */
    @TableField(value="USER_CODE")
    private String userCode;
    /**
     * 角色code
     */
    @TableField(value="ROLE_CODE")
    private String roleCode;
}
